<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>体检报告</title>
    <%- include('../_global/baseLibsJKDA') %>
    <link rel="stylesheet" href="/static/css/public.css"/>
    <link rel="stylesheet" href="/static/css/page-main.css"/>
    <!--<link rel="stylesheet" href="/static/css/public.css">-->

    <style type="text/css">
        html,body {
            width: 100%;
            height: 100%;
            margin: 0px;
        }
        #ListTabBox .tab{ display: block!important;}
        .ssjl_list{
            padding: 0.71429rem 1rem;
        }
        .ssjl_list .ssjl{
            margin-bottom: 0.6rem;
            border-bottom:1px solid #ddd;
        }
        .ssjl_list .ssjl li{
            line-height: 1.8rem;
        }
    </style>
</head>

<body>
<header class="header-box grey fixed">
    <div class="header-content">
        <div class="left-tool">
            <a class="back" href="javascript:void(0);"><i class="iconfont icon-back"></i></a>
        </div>
        <div class="title">体检报告</div>
    </div>
</header>
<div id="ListTabBox">
    <div class="tab"> <div class="ssjl_list"  >
            <ul id= "tjbg" ></ul></div></div>
</div>
</body>

<script type="text/javascript">

    


    var page_tjbg = (function($, page_tjbg) {

        var cfg_def = {
            indata: indata,
            queryJkdaTjbgBack: queryJkdaTjbgBack,

        }

        page_tjbg.init = function(cfg){
            $.extend(page_tjbg, cfg_def, cfg);
            page_tjbg.indata();


        }
        return page_tjbg;
        function indata(){
            var zxwyh = $.QuickUrlUtils.getRequest("ZXWYH");
            $.QuickRemote.AjaxJson({
                funcName: "/api/gzd/jkda/queryJkdaTjbg"
                ,callback:page_tjbg.queryJkdaTjbgBack
                ,params:{
                    "zxwyh": zxwyh,
                }
            });
        }

        //体检报告回调
        function queryJkdaTjbgBack(result){
            $("#tjbg").html(template("tjbgList", {data:result}));
        }

    })(jQuery, {});
</script>
<script type="text/html" id="tjbgList">
    {{each data}}
    <div class="ssjl">
        <li>体检机构: {{$value.tjjg }}</li>
        <li>体检日期: {{$value.tjrq}}</li>
        <li>健康指导: {{$value.jkzd}}</li>
        <li>建议名称: {{$value.jymc}}</li>
        <li>健康评价: {{$value.jkpj}}</li>
    </div>
    {{/each}}
</script>
</html>